package com.deco.service.product;

import com.deco.domain.vo.product.PqmsHistoryVo;
import com.deco.logic.product.PqmsHistoryLogic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class PqmsHistoryService {

    @Autowired
    private PqmsHistoryLogic logic;

    public PqmsHistoryVo add(PqmsHistoryVo historyVo){
        return logic.add(historyVo);
    }

    public Integer count(PqmsHistoryVo historyVo){
        return logic.getCount(historyVo);
    }

}
